package com.xiaoxiaoxt.xiaoxiaoxtdao.mapper;

import com.xiaoxiaoxt.xiaoxiaoxtdao.entity.PaperExamQuestion;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

public interface PaperExamQuestionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PaperExamQuestion record);

    int insertSelective(PaperExamQuestion record);

    PaperExamQuestion selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PaperExamQuestion record);

    int updateByPrimaryKeyWithBLOBs(PaperExamQuestion record);

    int updateByPrimaryKey(PaperExamQuestion record);

    ArrayList<PaperExamQuestion> selectListByPaperIdMid(@Param("paperId") Integer paperId, @Param("mid") Integer mid);

    ArrayList<PaperExamQuestion> selectListByPaperIdQuestionId(@Param("paperId") Integer paperId, @Param("questionId") Integer questionId);
}